package com.hotel.tv.application.admin.dto.order;

import com.autumn.validation.annotation.NotNullOrBlank;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * <p>
 * </p>
 *
 * @description TODO
 * @author: 老码农
 * @create: 2020-04-07 11:00
 **/
@Getter
@Setter
public class OrderItemInput {
    /**
     * 项目名称
     */
    @NotNullOrBlank(message = "项目名称不能为空")
    private String itemName;

    /**
     * 项目金额
     */
    @NotNull(message = "订单金额不为空")
    private BigDecimal itemNumber;
}
